//主数据表格配置
export const columns = [
  // { title: '产品名称英文', dataIndex: 'productNameEn', key: 'productNameEn', align: 'center' },
  { title: '产品名称', dataIndex: 'productNameZh', key: 'productNameZh', align: 'center' },
  // { title: '生产厂商代码', dataIndex: 'manufacturerOrgCode', key: 'manufacturerOrgCode', align: 'center' },
  { title: '生产厂商名称', dataIndex: 'manufacturerOrgName', key: 'manufacturerOrgName', align: 'center' },
  { title: '证照号码', dataIndex: 'licenseNo', key: 'licenseNo', align: 'center' },
  { title: '证照类型', dataIndex: 'licenseType', key: 'licenseType', align: 'center' },
  // { title: '登记单位名称', dataIndex: 'registrationOrgName', key: 'registrationOrgName', align: 'center' },
  // { title: '生产企业状态', dataIndex: 'manufacturerState', key: 'manufacturerState', align: 'center' },
  { title: '有效期始', dataIndex: 'beginDate', key: 'beginDate', align: 'center' },
  { title: '有效期止', dataIndex: 'endDate', key: 'endDate', align: 'center' },
  { title: '预警日期', dataIndex: 'alertDate', key: 'alertDate', align: 'center' },
  // { title: '颁发机构', dataIndex: 'authority', key: 'authority', align: 'center' },
  { title: '注册证状态', dataIndex: 'state', key: 'state', align: 'center' },
  {
    title: '操作',
    dataIndex: 'action',
    key: 'operation',
    width: 180,
    align: 'center',
    scopedSlots: { customRender: 'action' }
  }
]

//主数据明细columns
export const columnsDetail = []

//主数据查询配置
export const q_formInfos = [
  { label: '证类型', name: 'zhengZhaolx', type: 'dicselect', dicName: 'zhuCezlx', placeholder: '证类型' },
  { label: '证号', name: 'zhengZhaohm', type: 'input', placeholder: '证号' },
  { label: '生产厂商', name: 'shengChancsmc', type: 'input', placeholder: '生产厂商' },
  { label: '注册证状态', name: 'zhuangTai', type: 'dicselect', dicName: 'zhuCezzt', placeholder: '注册证状态' },
  { label: ['查询', '重置'], type: 'botton' }
]

export const q_formDatas = {
  zhuangTai: null,
  zhengZhaohm: null,
  zhengZhaolx: null,
  shengChancsmc: null,
  supplierOrgPid: null,
  supplierOrgCode: null
}

//添加主数据表单配置
export const s_FormInfo = []
export const s_formDatas = {}
export const s_rules = {}

//查看明细显示配置
export const infoDatas = []
